/* sidebar */

#admin-sidebar {
    display: block;
    float: left;
    width: 220px;
    background: #2E363F !important;
}

/* mobile phone */

#admin-sidebar .mobile-phone {
    width: 100%;
    border-top: 1px solid #37414b;
    border-bottom: 1px solid #1f262d;
    padding: 8px 0 8px 15px;
    background: #2E363F !important;
    display: none;
    overflow: hidden !important;
}

#admin-sidebar .mobile-phone > a {
    color: #939da8;
    line-height: 20px;
    font-weight: bold;
    text-decoration: none;
}

#admin-sidebar .mobile-message {
    margin-right: 2rem;
    float: right;
}

#admin-sidebar.open > ul {
    display: block;
}

/* menu */

#admin-sidebar ul li {
    display: block;
    line-height: 20px;
}

#admin-sidebar ul li a i {
    margin-right: 10px;
    opacity: .5;
    margin-top: 2px;
}

#admin-sidebar > ul {
    border-bottom: 1px solid #37414b;
}

#admin-sidebar > ul > li {
    border-top: 1px solid #37414b;
    border-bottom: 1px solid #1f262d;
}

#admin-sidebar > ul > li > a {
    display: block;
    color: #939da8;
}

#admin-sidebar > ul > li.active {
    background-color: #27a9e3;
    border-bottom: 1px solid #27a9e3;
    border-top: 1px solid #27a9e3;
}

#admin-sidebar > ul > li.active > a {
    background: url("../img/menu-active.png") no-repeat scroll right center transparent !important;
    text-decoration: none;
    color: #fff;
}

#admin-sidebar > ul > li a:hover {
    background-color: #27a9e3;
    color: #fff;
}

#admin-sidebar .submenu {
    padding: 0;
}

#admin-sidebar .submenu > ul {
    display: none;
}

#admin-sidebar .submenu.open > ul {
    display: block;
}

#admin-sidebar .submenu ul {
    background-color: #1e242b;
}

#admin-sidebar .submenu ul li {
    border-top: 1px solid #37414b;
}

#admin-sidebar .submenu ul li > a {
    color: #939da8;
    display: block;
}

#admin-sidebar .submenu ul li.active > a {
    color: #fff;
    background: #28b779;
}

#admin-sidebar .submenu ul li a:hover {
    color: #fff;
    background-color: #28b779;
}

#admin-sidebar .submenu .submenu {
    background-color: #3f4954;
}

#admin-sidebar .submenu .submenu ul li {
    background-color: #37414b;
}

#admin-sidebar .submenu .submenu ul li > a {
    display: block;
}

#admin-sidebar .submenu .submenu ul li > a {
    padding-left: 20px;
}

#admin-sidebar .submenu .submenu ul li > a {
    color: #fcfcfc;
}

#admin-sidebar .submenu .submenu ul li.active a {
    color: #fff;
    background: #2255a4;
}

#admin-sidebar .submenu .submenu ul li a:hover {
    color: #fff;
    background-color: #2255a4;
}

/* icon padding*/

#admin-sidebar > ul > li > a {
    padding: 0.5rem 0 0.5rem 0.2rem;
}

#admin-sidebar .submenu ul li > a {
    padding: 0.5rem 0 0.5rem 0.7rem;
}

#admin-sidebar .submenu .submenu ul li > a {
    padding: 0.5rem 0 0.5rem 1.2rem;
}

@media (min-width: 481px) and (max-width: 970px) {
    #admin-sidebar {
        width: 45px;
    }

    #admin-sidebar ul li a span {
        display: none;
    }
}

@media (max-width: 480px) {
    #admin-sidebar {
        width: 100%;
        float: none;
    }

    #admin-sidebar > ul {
        display: none;
    }

    #admin-sidebar ul li a span {
        display: inline-block;
        cursor: pointer;
        font-weight: bold;
    }

    #admin-sidebar .mobile-phone {
        display: block !important;
        overflow: hidden !important;
    }
}

/* transitions */

.slide-fade-enter-active {
    transition: all .3s ease;
}

.slide-fade-leave-active {
    transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter, .slide-fade-leave-to {
    transform: translateX(10px);
    opacity: 0;
}